package com.lwy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwy.pojo.User;
import org.springframework.stereotype.Repository;

//在对应的mapper上面继承基本的BaseMapper
@Repository //代表持久层
public interface UserMapper extends BaseMapper<User> {
    //所有的CRED操作都已经编写完成了
    //你不需要像以前的配置等文件
}
